/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.deployment.servico;

import br.com.deployment.entidade.registroimovel.Imovel;
import br.com.deployment.entidade.registroimovel.Registro;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author luciano
 */
@Remote
public interface RegistroServico {
    
    void salvar(Registro averbacao);
    void atualizar(Registro averbacao);
    void remover(Registro averbacao);
    Boolean existe(int id);
    Registro find(int id);
    List<Registro> averbacoes();
    Registro findUltima(Imovel imovel);
    List<Registro> findAverbacao(Registro averbacao);
    List<Registro> findAverImovel(Imovel imovel, String order);
    List<Registro> getRegistros(Imovel imovel);
}
